package com.woniu;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication  //springboot启动类注解
@EnableDiscoveryClient //以客户段注册到注册中心
@MapperScan("com.woniu.outlet.dao")  //dao包扫描
@EnableScheduling   //开启定时任务
@EnableFeignClients  //开启远程接口调用
public class ErpProPlanApplication {

    public static void main(String[] args) {
        SpringApplication.run(ErpProPlanApplication.class, args);
    }

}
